<?php

namespace AppBundle\Controller;

use Psr\Log\LoggerInterface;
use FOS\RestBundle\Controller\FOSRestController;

/**
 * Description of BaseApiController
 *
 * @author maple
 */
class BaseApiController extends FOSRestController
{
    
    use AppControllerTrait;
    
    /**
     * @return LoggerInterface
     */
    protected function getLogger()
    {
        $logger = $this->get('monolog.logger.common');
        
        return $logger;
    }
    
}
